<#include "/includes/header.ftl">
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
	<TD width="120" valign="top"><#include "/includes/leftbar.ftl"></TD>	
	<TD valign="top" width="90%">
	<#-- Main Content-->
	<table width="100%" border="0">
  <form name="edit_store_profile" action='<@spring.url "/editmystoreproduct.php"/>' method="post" onsubmit="return check_form(create_account);">
  <@spring.bind "command.site2Content.sysId" />    
  <INPUT type="hidden" name="${spring.status.expression}" value='${spring.status.value}'  />
  <INPUT type="hidden" name="s2csid" value='${spring.status.value}'  />
  <tr>
    <th width="10%" nowrap="nowrap" scope="row"><div align="right">商品名称: </div></th>
    <td width="90%">
	          <@spring.bind "command.site2Content.content.name" />    
				    <div align="left"><a href='<@spring.url "/viewproductdetail.jsp?csid=${command.site2Content.content.sysId}"/>'>${spring.status.value?default("no-product-name")}</a> </div>
	          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
    </td>
    <td width="1%" rowspan="4" valign="top"><div align="left"><a href="../productdetail.html"><img src="../IMAGES/content.jpg" width="130" height="98" border="0" /></a></div></td>
  </tr>
  <tr>
    <th nowrap="nowrap" scope="row"><div align="right">市场价: </div></th>
    <td><label>
      <div align="left">
         <@spring.bind "command.site2Content.listPrice" />    
          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default(0.0)?string("0.00")}' size="8" />
          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
        </div>
    </label></td>
    </tr>
  <tr>
    <th nowrap="nowrap" scope="row"><div align="right">会员价: </div></th>
    <td><div align="left">
         <@spring.bind "command.site2Content.memberPrice" />    
          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default(0.0)?string("0.00")}' size="8" />
          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
    </div></td>
    </tr>
  <tr>
    <th valign="top" nowrap="nowrap" scope="row"><div align="right">零批摘要说明: </div></th>
    <td><label>
      <div align="left">
         <@spring.bind "command.site2Content.shortDesc" />    
        <textarea name="${spring.status.expression}" cols="60" rows="6">${spring.status.value?default("Please input store short comment for this product")}</textarea>
        </div>
    </label></td>
    </tr>
  <tr>
    <th valign="top" nowrap="nowrap" scope="row"><div align="right">零批详细说明: </div></th>
    <td><label>
      <div align="left">
         <@spring.bind "command.site2Content.longDesc" />    
        <textarea name="${spring.status.expression}" cols="60" rows="6">${spring.status.value?default("Please input store long comment for this product")}</textarea>
        </div>
    </label></td>
    </tr>

  <tr>
    <th valign="top" nowrap="nowrap" scope="row"><div align="right">小图片: </div></th>
    <td><label>
      <div align="left">
         <@spring.bind "command.site2Content.siteContentImage1" />    
          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />
          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>&nbsp;
        </div>
    </label></td>
    </tr>
  <tr>
    <th valign="top" nowrap="nowrap" scope="row"><div align="right">中图片: </div></th>
    <td><label>
      <div align="left">
         <@spring.bind "command.site2Content.siteContentImage2" />    
          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />
          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
        </div>
    </label></td>
    </tr>
  <tr>
    <th valign="top" nowrap="nowrap" scope="row"><div align="right">大图片: </div></th>
    <td><label>
      <div align="left">
         <@spring.bind "command.site2Content.siteContentImage3" />    
          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />
          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
        </div>
    </label></td>
    </tr>
    
  <tr>
    <td colspan="2"><font color=red>本站不提供客户化的图片上传,请输入图片地址,例如:http://www.yahoo.com/images/product.jpg</font></td>
    </tr>

    
	  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row" valign="top"><div align="right">状态: </div></th>
    <td>
      <@spring.bind "command.site2Content.status" />
      <#assign status = spring.status.value?default(1001)>
		  <INPUT type="radio" name="${spring.status.expression}" value="1001" <#if status == 1001>checked</#if>>正在编辑&nbsp;&nbsp;
		  <INPUT type="radio" name="${spring.status.expression}" value="1002" <#if status == 1002>checked</#if>>申请审批&nbsp;&nbsp;
		  <INPUT type="radio" name="${spring.status.expression}" value="1003" <#if status == 1003>checked</#if>>审批失败&nbsp;&nbsp;
		  <INPUT type="radio" name="${spring.status.expression}" value="1004" <#if status == 1004>checked</#if>>审批通过&nbsp;&nbsp;
      <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</td>
    </tr>

  <tr>
    <th valign="top" nowrap="nowrap" scope="row"><div align="right">说明: </div></th>
    <td><label>
      <div align="left"><font color="red">系统管理员有权批准或禁止您的销售信息上线．</font></div>
    </label></td>
    </tr>
    
  <tr>
    <th scope="row">&nbsp;</th>
    <td colspan="2"><label>
      <div align="left">
        <input type="submit" name="Submit" value="Save" />
        </div>
    </label></td>
  </tr>
  <tr>
    <th scope="row">&nbsp;</th>
    <td colspan="2">&nbsp;</td>
  </tr>
  </form>
</table>
	
	<#-- /Main Content-->
	</TD>	
	<TD valign="top"><#include "/includes/rightbar.ftl"></TD>
</TR>
</TABLE>

<#include "/includes/footer.ftl">